{% load athletelog_tags %}
<div class="settings_form">
<div class="corner_tl"><div class="corner_tr"><div class="corner_bl"><div class="corner_br content">
<h2>Upravit heslo</h2>
{% if form_errors or form_error_message %}
<div class="error_box">
{{form_error_message|default:"Některé Vámi zadané hodnoty jsou špatně - mrkněte se na ně znovu"}}
</div>
{% endif %}
<form action="{% url athletelog.views.settings.user_change_password %}?continue={{ continue|urlencode }}" method="post">
    <fieldset>
        <legend class="textversion">Heslo</legend>
        <label for="user_password">Heslo</label>
        {{password_form.password}}
        <label for="user_password_retype">Heslo znovu</label>
        {{password_form.password_retype}}
    </fieldset>
    <fieldset class="button_set">
        <legend class="textversion">Uložit</legend>
        <input type="submit" name="submit_ok" class="ok button" value="Uložit">
        <input type="submit" name="submit_cancel" class="cancel button" value="Zrušit">
    </fieldset>
</form>
</div></div></div></div>
</div>
